package org.ece3574.fallingbox;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.TranslateAnimation;
import android.widget.ImageView;

public class SheelVirgaBackupActivity extends Activity {
    /** Called when the activity is first created. */
	ImageView dude;
	Animation dudeAni;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        dude = (ImageView)findViewById(R.id.dude);
        dudeAni = new TranslateAnimation(-300, 300, 250, 250);
        dudeAni.setDuration(1000);
        dudeAni.setStartOffset(0);
        dudeAni.setRepeatCount(-1);
        dudeAni.setFillAfter(true);
        dude.setAnimation(dudeAni);
        dude.setVisibility(View.VISIBLE);
    }
}